package com.xr.service.impl;


import com.alibaba.dubbo.config.annotation.Service;
import com.xr.mapper.UserMapper;
import com.xr.pojo.User;
import com.xr.service.SetMealService;
import com.xr.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

@Service(interfaceClass = UserService.class)
public class UserServiceImpl implements UserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public User queryByUserName(String userName) {
        return userMapper.queryByUserName(userName);
    }
}
